package com.lanxin.oa.message.dao;

import com.lanxin.base.BaseDao;
import com.lanxin.bean.XxDuanxiaoxi;
import com.lanxin.bean.XxXiaoxijieshou;
import com.lanxin.util.PageBean;

import java.util.Date;

public interface DuanxiaoxiDao extends BaseDao {

    //查询短消息和接收消息数据
    public PageBean<XxDuanxiaoxi> listDaunxiaoxi(Integer page, Integer pageSize, Integer creator);

    //通过条件查询
    public PageBean<XxDuanxiaoxi> pageDuanxiaoxi(Integer page, Integer pageSize, Integer creator, String biaoti,
                                                 Integer jieshouren, Date startDate, Date endDate);

    //通过接收人查询
    public PageBean<XxXiaoxijieshou> xiaoxijieshou(Integer page, Integer pageSize, Integer jieshouren);

    //通过条件查询接收人
    public PageBean<XxXiaoxijieshou> pageDuanxiaoxi(Integer page, Integer pageSize, String biaoti,
                                                    Integer jieshouren, Date startDate, Date endDate, Integer jieshourens);

    //查看详情
    public XxXiaoxijieshou xxjsxq(Integer oid);

}
